//1.导入Vue
import Vue from 'vue'

//导入全局配置模块，与main.js的vm实例没有关系，属于全局的Vue配置
import './globalConfig.js'

//配置路由
import VueRouter from "vue-router"
Vue.use(VueRouter)

//导入路由对象
import router from "./js/router.js"

//导入状态管理对象
import store from "./js/store.js"

//导入过滤器,引入即可使用
import "./js/filter.js"

import App from './components/App.vue'

const vm = new Vue({
    el:'#app',
    render:c=>c(App),
    router,
    store,
})
